package com.drcoffee.drcoffeemall.service;

import com.drcoffee.drcoffeemall.entry.Attachment;
import com.drcoffee.drcoffeemall.entry.Result;
import com.drcoffee.drcoffeemall.entry.search.PartSearch;

import java.util.List;
import java.util.Map;

/*
 * 配件
 * */
public interface PartsService {
    Result getAttachment(String Token, PartSearch partSearch);

    Result getAttachmentNoType(String Token,PartSearch partSearch);

    Result getAttachmentMain(String Token, PartSearch partSearch);

    Result getAttachmentById(String Token, String language, Integer dot_id);

    /* 根据料号查询配件 */
    Result getAttachmentByCode(String token, String partCode);

    Result getGiveaway(String token, String language, Integer type, List<String> partCodes);


}
